<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<style type="text/css">
			li{
				list-style: none;
				float: left;
				cursor: pointer;
			}
			.clear{
				clear: both;
			}
			.app{
				width: 100%;
				height: 300px;
				background:#000ccc;
			}
		</style>
		<ul>
			<li>新闻1</li>
			<li>新闻2</li>
			<li>新闻3</li>
			<li>新闻4</li>
			<li>新闻5</li>
			<li>新闻6</li>
			<li>新闻7</li>
			<li>新闻8</li>
			<li>新闻9</li>
			<li>新闻10</li>
			<div class="clear"></div>
		</ul>
		<div class="app"></div>
		<style type="text/css">
			.wrap{
				border: 1px solid #000;
			}
			.fl{
				float: left;
			}
			.fr{
				float: right;
			}
			.clear{
				clear: both;
			}
		</style>
		<div class="wrap">
			<span class="fl">正在热映</span>
			<a class="fr" href="#">全部</a>
			<div class="clear"></div>
			<div class="app"></div>
		</div>
		
		<!-------------------------------->
		<style type="text/css">
			/*子代选择器*/
			.ib>li{
				float: none;
				display: inline-block;
				width: 40px;
				margin-right: 10px;
				border: 1px solid #000;
				vertical-align:top
				
			}
		</style>
		<ul class="ib">
			<li>
				<div>文字123</div>
			</li>
			<li>
				<div>文字文字aaaaa</div>
			</li>
			<li>
				<div>文字123</div>
			</li>
			<li>
				<div>文字123</div>
			</li>
		</ul>
	</body>
</html>
